package com.lxj.word.service;

import com.lxj.utils.common.CommonResult;
import com.lxj.utils.entity.Word;

public interface WordService {
    CommonResult findAll(Word word);

    CommonResult like(Integer id,String username);

    CommonResult collect(Integer id,String username);

    CommonResult findLike(String username);

    CommonResult findCollect(String username);

    CommonResult myCollect(Word word);

    CommonResult cancelCollect(Integer id, String username);

    CommonResult mySubmit(Word word);

    CommonResult add(Word word);

    CommonResult findById(Integer id);

    CommonResult delete(Integer[] id);

    CommonResult edit(Word word);
}
